package cn.wx.openfeign;

import cn.wx.domain.Josnre;
import cn.wx.domain.Store;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "store-server",fallbackFactory = SentineOpenfeign.class)
@RequestMapping("/store")
public interface StoreOpenFeign  {

    @PostMapping
    public Josnre add(@RequestBody Store store);



}
